<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/blog/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/blog/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/blog/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/blog/images/logo.svg" color="#222">

<link rel="stylesheet" href="/blog/css/main.css">


<link rel="stylesheet" href="/blog/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"dttx123.gitee.io","root":"/blog/","scheme":"Gemini","version":"8.0.0-rc.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="动画函数封装动画初体验-实现div到left&#x3D;400的位置1点击按钮，让div能够移动到400的位置，到达终点，清除定时器  动画初体验-让div做多个动画123点击按钮1，让div能够移动到400的位置，到达终点，清除定时器点击按钮2，让div能够移动到800的位置，到达终点，清除定时器还要让div能够从800 移动到400的位置，到达终点，清除定时器  动画初体验-div到达终点1让div移动">
<meta property="og:type" content="article">
<meta property="og:title" content="webAPI07">
<meta property="og:url" content="http://dttx123.gitee.io/2016/11/03/webAPI/07/index.html">
<meta property="og:site_name" content="Starry Night">
<meta property="og:description" content="动画函数封装动画初体验-实现div到left&#x3D;400的位置1点击按钮，让div能够移动到400的位置，到达终点，清除定时器  动画初体验-让div做多个动画123点击按钮1，让div能够移动到400的位置，到达终点，清除定时器点击按钮2，让div能够移动到800的位置，到达终点，清除定时器还要让div能够从800 移动到400的位置，到达终点，清除定时器  动画初体验-div到达终点1让div移动">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://dttx123.gitee.io/blog/2016/11/03/webAPI/07/offset.png">
<meta property="og:image" content="http://dttx123.gitee.io/blog/2016/11/03/webAPI/07/scroll.png">
<meta property="og:image" content="http://dttx123.gitee.io/blog/2016/11/03/webAPI/07/client1.png">
<meta property="og:image" content="http://dttx123.gitee.io/blog/2016/11/03/webAPI/07/client.png">
<meta property="article:published_time" content="2016-11-02T16:00:00.000Z">
<meta property="article:modified_time" content="2020-05-13T03:05:05.718Z">
<meta property="article:author" content="大春哥">
<meta property="article:tag" content="dom操作">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://dttx123.gitee.io/blog/2016/11/03/webAPI/07/offset.png">

<link rel="canonical" href="http://dttx123.gitee.io/2016/11/03/webAPI/07/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>webAPI07 | Starry Night</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
        <span class="toggle-line toggle-line-first"></span>
        <span class="toggle-line toggle-line-middle"></span>
        <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/blog/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">Starry Night</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">这就朕为你打下的江山</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/blog/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/blog/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/blog/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/blog/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/blog/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://dttx123.gitee.io/2016/11/03/webAPI/07/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/blog/images/avatar.jpg">
      <meta itemprop="name" content="大春哥">
      <meta itemprop="description" content="IT">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Starry Night">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          webAPI07
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2016-11-03 00:00:00" itemprop="dateCreated datePublished" datetime="2016-11-03T00:00:00+08:00">2016-11-03</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-05-13 11:05:05" itemprop="dateModified" datetime="2020-05-13T11:05:05+08:00">2020-05-13</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/blog/categories/dom%E6%93%8D%E4%BD%9C/" itemprop="url" rel="index"><span itemprop="name">dom操作</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="动画函数封装"><a href="#动画函数封装" class="headerlink" title="动画函数封装"></a>动画函数封装</h1><h2 id="动画初体验-实现div到left-400的位置"><a href="#动画初体验-实现div到left-400的位置" class="headerlink" title="动画初体验-实现div到left=400的位置"></a>动画初体验-实现div到left=400的位置</h2><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">点击按钮，让div能够移动到<span class="number">400</span>的位置，到达终点，清除定时器</span><br></pre></td></tr></table></figure>

<h2 id="动画初体验-让div做多个动画"><a href="#动画初体验-让div做多个动画" class="headerlink" title="动画初体验-让div做多个动画"></a>动画初体验-让div做多个动画</h2><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">点击按钮<span class="number">1</span>，让div能够移动到<span class="number">400</span>的位置，到达终点，清除定时器</span><br><span class="line">点击按钮<span class="number">2</span>，让div能够移动到<span class="number">800</span>的位置，到达终点，清除定时器</span><br><span class="line">还要让div能够从<span class="number">800</span> 移动到<span class="number">400</span>的位置，到达终点，清除定时器</span><br></pre></td></tr></table></figure>

<h2 id="动画初体验-div到达终点"><a href="#动画初体验-div到达终点" class="headerlink" title="动画初体验-div到达终点"></a>动画初体验-div到达终点</h2><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">让div移动到<span class="number">96</span>px的位置，发现元素不能移动到终点位置</span><br></pre></td></tr></table></figure>

<h2 id="动画初体验-清除多个定时器"><a href="#动画初体验-清除多个定时器" class="headerlink" title="动画初体验-清除多个定时器"></a>动画初体验-清除多个定时器</h2><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">点击元素多次，会发现元素会左右来回移动，到达不了终点。</span><br></pre></td></tr></table></figure>



<h1 id="短路运算"><a href="#短路运算" class="headerlink" title="短路运算"></a>短路运算</h1><p>&amp;&amp;：短路与， 只要碰到了false，就会短路，短路后不会执行第二个表达式。</p>
<p>||：短路或，只要碰到了true就会短路，短路后不会执行第二个表达式。</p>
<p><strong>注意：&amp;&amp;和||的结果不一定是布尔类型，也可以是其他的类型</strong></p>
<p><strong>||经常用来给函数设置默认值</strong></p>
<h1 id="轮播图"><a href="#轮播图" class="headerlink" title="轮播图"></a>轮播图</h1><h2 id="简单轮播图"><a href="#简单轮播图" class="headerlink" title="简单轮播图"></a>简单轮播图</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="number">1.</span> 结构分析</span><br><span class="line"><span class="number">2.</span> 按钮高亮以及排他</span><br><span class="line"><span class="number">3.</span> 移动图片：渐渐的移动图片，用到animate函数</span><br></pre></td></tr></table></figure>



<h2 id="左右焦点图"><a href="#左右焦点图" class="headerlink" title="左右焦点图"></a>左右焦点图</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="number">1.</span>结构分析</span><br><span class="line"><span class="number">2.</span>左右箭头的显示与隐藏</span><br><span class="line"><span class="number">3.</span>点击左箭头与右箭头（下标判断）</span><br></pre></td></tr></table></figure>



<h2 id="无缝轮播图"><a href="#无缝轮播图" class="headerlink" title="无缝轮播图"></a>无缝轮播图</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="number">1.</span> 需要添加假图片</span><br><span class="line"><span class="number">2.</span> 真图片与假图片之间互相切换。</span><br></pre></td></tr></table></figure>



<h2 id="完整版轮播图"><a href="#完整版轮播图" class="headerlink" title="完整版轮播图"></a>完整版轮播图</h2><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="number">1.</span> js动态添加小圆点</span><br><span class="line"><span class="number">2.</span> js动态添加最后一张假图片</span><br><span class="line"><span class="number">3.</span> 实现左右焦点图 + 无缝滚动</span><br><span class="line"><span class="number">4.</span> 自动播放</span><br><span class="line"><span class="number">5.</span> 点击小圆点同步切换</span><br><span class="line"><span class="number">6.</span> 解决点击小圆点的bug</span><br></pre></td></tr></table></figure>





<h1 id="三大家族"><a href="#三大家族" class="headerlink" title="三大家族"></a>三大家族</h1><h2 id="offset家族"><a href="#offset家族" class="headerlink" title="offset家族"></a>offset家族</h2><blockquote>
<p>offset系列用于用于获取元素自身的大小和位置，在网页特效中有广泛应用</p>
<p>offset系列主要有：offsetHeight、offsetWidth、offsetParent、offsetLeft、offsetTop</p>
</blockquote>
<p>offsetHeight与offsetWidth</p>
<ol>
<li>获取的是元素真实的高度和宽度</li>
<li>获取到的是数值类型，方便计算</li>
<li>offsetHeight与offsetWidth是只读属性，不能设置。</li>
</ol>
<p>offsetHeight与offsetWidth的构成</p>
<p>​    offsetHeight = height + paddnig + border</p>
<p>​    offsetWidth = width + padding + border</p>
<p> <img src="/blog/2016/11/03/webAPI/07/offset.png" alt="offset"></p>
<h2 id="scroll家族"><a href="#scroll家族" class="headerlink" title="scroll家族"></a>scroll家族</h2><blockquote>
<p>scroll家族用来获取盒子内容的大小和位置</p>
<p>scroll家族有：scrollWidth、scrollHeight、scrollLeft、scrollTop</p>
</blockquote>
<ol>
<li><p>scrollWidth与scrollHeight是盒子内容的真实的宽度和高度。与和盒子大小无关，仅仅与盒子的内容有关系。</p>
</li>
<li><p>scrollTop用于获取内容垂直滚动的像素数。如果没有滚动条，那么scrollTop值是0</p>
<p><img src="/blog/2016/11/03/webAPI/07/scroll.png" alt="scroll"></p>
</li>
</ol>
<p>onscroll事件，对于有滚动条的盒子，可以使用onscroll注册滚动事件，每滚动一像素，就会触发该事件。</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> box = doucment.getElementById(“box”);</span><br><span class="line">box.onscroll = <span class="function"><span class="keyword">function</span>(<span class="params"></span>)</span>&#123;</span><br><span class="line">	<span class="comment">//事件处理程序</span></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>获取页面被卷去的高度和宽度</p>
<blockquote>
<p>通常来说，scroll家族用的最多的地方就是用来获取页面被卷去的宽度和高度，非常的常用</p>
</blockquote>
<p>页面被卷去的高度和宽度</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">window</span>.onscroll = <span class="function"><span class="keyword">function</span>(<span class="params"></span>) </span>&#123;</span><br><span class="line">  <span class="keyword">var</span> scrollTop = <span class="built_in">window</span>.pageYOffset</span><br><span class="line">  <span class="keyword">var</span> scrollLeft = <span class="built_in">window</span>.pageXOffset</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>【仿腾讯固定导航案例.html】</p>
<h2 id="client家族"><a href="#client家族" class="headerlink" title="client家族"></a>client家族</h2><blockquote>
<p>client家族用于获取盒子可视区的大小</p>
<p>client家族有clientWidth、clientHeight、clientLeft、clientTop</p>
</blockquote>
<p>clietnWidth: 获取内容和padding的大小</p>
<p>clientHeight:获取内容与padding的大小</p>
<blockquote>
<p>clientTop与clientLeft</p>
</blockquote>
<p><strong>clientTop</strong>与<strong>clientLeft</strong> 完全没有用，他们就是borderTop与borderLeft</p>
<p> <img src="/blog/2016/11/03/webAPI/07/client1.png" alt="client1"></p>
<blockquote>
<p>三大家族对比</p>
</blockquote>
<p> <img src="/blog/2016/11/03/webAPI/07/client.png" alt="client"></p>
<blockquote>
<p>onresize事件：onresize事件会在窗口被调整大小的时候发生。</p>
</blockquote>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">window</span>.onresize = <span class="function"><span class="keyword">function</span>(<span class="params"></span>)</span>&#123;</span><br><span class="line">	<span class="comment">//事件处理程序</span></span><br><span class="line">    <span class="keyword">var</span> width = <span class="built_in">window</span>.innerWidth;</span><br><span class="line">    <span class="keyword">var</span> height = <span class="built_in">window</span>.innerHeight</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/blog/tags/dom%E6%93%8D%E4%BD%9C/" rel="tag"># dom操作</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/blog/2016/10/03/webAPI/06/" rel="prev" title="webAPI06">
      <i class="fa fa-chevron-left"></i> webAPI06
    </a></div>
      <div class="post-nav-item">
    <a href="/blog/2016/12/23/webAPI/08/" rel="next" title="webAPI08">
      webAPI08 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#动画函数封装"><span class="nav-text">动画函数封装</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#动画初体验-实现div到left-400的位置"><span class="nav-text">动画初体验-实现div到left&#x3D;400的位置</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#动画初体验-让div做多个动画"><span class="nav-text">动画初体验-让div做多个动画</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#动画初体验-div到达终点"><span class="nav-text">动画初体验-div到达终点</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#动画初体验-清除多个定时器"><span class="nav-text">动画初体验-清除多个定时器</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#短路运算"><span class="nav-text">短路运算</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#轮播图"><span class="nav-text">轮播图</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#简单轮播图"><span class="nav-text">简单轮播图</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#左右焦点图"><span class="nav-text">左右焦点图</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#无缝轮播图"><span class="nav-text">无缝轮播图</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#完整版轮播图"><span class="nav-text">完整版轮播图</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#三大家族"><span class="nav-text">三大家族</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#offset家族"><span class="nav-text">offset家族</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#scroll家族"><span class="nav-text">scroll家族</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#client家族"><span class="nav-text">client家族</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="大春哥"
      src="/blog/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">大春哥</p>
  <div class="site-description" itemprop="description">IT</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/blog/archives/">
        
          <span class="site-state-item-count">35</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/blog/categories/">
          
        <span class="site-state-item-count">11</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/blog/tags/">
          
        <span class="site-state-item-count">17</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">大春哥</span>
</div>

        








      </div>
    </footer>
  </div>

  
  <script src="/blog/lib/anime.min.js"></script>
  <script src="/blog/lib/velocity/velocity.min.js"></script>
  <script src="/blog/lib/velocity/velocity.ui.min.js"></script>

<script src="/blog/js/utils.js"></script>

<script src="/blog/js/motion.js"></script>


<script src="/blog/js/schemes/pisces.js"></script>


<script src="/blog/js/next-boot.js"></script>




  




  
<script src="/blog/js/local-search.js"></script>













  

  

</body>
</html>
